package com.atguigu.tingshu.dispatch.handler;

import com.atguigu.tingshu.search.client.SearchFeignClient;
import com.atguigu.tingshu.user.client.UserInfoFeignClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Author：yyj
 * @Package：com.atguigu.tingshu.dispatch.handler
 * @Project：tingshu_parent240829
 * @name：DispatchHandler
 * @Date：2025/2/15 11:48
 * @Filename：DispatchHandler
 */
@Component
public class DispatchHandler {
    @Autowired
    private SearchFeignClient searchFeignClient;
    @Autowired
    private UserInfoFeignClient userInfoFeignClient;

    public void PreHitSortRank() {
        searchFeignClient.PreHitSortRank();
    }

    public void updateVipExpire() {
        userInfoFeignClient.updateVipExpire();
    }

}